<%--
功能：获取指定目录下或者指定商品(可多个)的推荐商品
--%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ tag import="java.util.List" %>
<%@ tag import="java.util.ArrayList" %>
<%@ tag import="org.springframework.context.ApplicationContext" %>
<%@ tag import="org.springframework.web.context.support.WebApplicationContextUtils" %>
<%@ tag import="org.apache.commons.lang.ArrayUtils" %>
<%@ tag import="com.probiz.estore.product.service.BrandManager" %>
<%@ tag import="com.probiz.estore.common.model.product.Brand" %>
<%@ attribute name="returnBrandListName" type="java.lang.String" required="true" description="要返回的品牌列表名称" %>

<%
	ApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContext(session.getServletContext());
	BrandManager brandManager = (BrandManager) ctx.getBean("brandManager");
	request.setAttribute(returnBrandListName,brandManager.listAllOrdered("sortOrder",true));
%>
<jsp:doBody />
